package com.shijiu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author xlj
 * @Date Created in  2023/4/21 16:37
 * @DESCRIPTION:
 * @Version V1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShopOrder {

    @ApiModelProperty("评论人名字")
    private String id;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("订单名称")
    private String orderName;

    @ApiModelProperty("商家id")
    private Integer shopId;

    @ApiModelProperty("总价格")
    private BigDecimal prince;

    @ApiModelProperty("数量 /件")
    private Integer count;

    @ApiModelProperty("支付状态：0 ：未支付 1：已支付 2:已弃用")
    private String status;

    @ApiModelProperty("支付状态：0 ：正常 1：逻辑删除")
    private String isDeleted;

    @ApiModelProperty("下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    @ApiModelProperty("订单结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date overTime;

    @ApiModelProperty("支付时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date zhhifuTime;
}
